﻿
using MediatR;
using SlaughterItem.Common.Dtos;
using System.ComponentModel.DataAnnotations;

namespace GetSlaughterItem.API.Application.Commands.Week03.Reports
{
    public class Check_InDetailQueryCommand:IRequest<Result>
    {
        /// <summary>
        /// 进场登记时间
        /// </summary>
        public DateTime? EnterTime { get; set; }
        /// <summary>
        /// 供应商/养殖户 外健
        /// </summary>
        public int SupplierId { get; set; }
        /// <summary>
        /// 结算类型 外键
        /// </summary>
        public int SettlementTypeId { get; set; }
        /// <summary>
        /// 检疫证号
        /// </summary>
        [StringLength(100)]
        public string? QuarantineNo { get; set; }
        /// <summary>
        /// 产地
        /// </summary>
        [StringLength(100)]
        public string? OriginAddr { get; set; }
        /// <summary>
        /// 进场登记编号
        /// </summary>
        [StringLength(50)]
        public string? CheckInNo { get; set; }
        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex {  get; set; }
        /// <summary>
        /// 条数
        /// </summary>
        public int PageSize {  get; set; }
    }
}
